﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Model;

namespace WCF
{
    [ServiceContract]
    public interface IMovieService
    {
        [OperationContract]
        void CreateMovie(string serialNo, string length, string title, string genre, DateTime releaseDate, double ranking);

        [OperationContract]
        void DeleteMovie(string serialNo);

        [OperationContract]
        List<Movie> FindAllMovies();

        [OperationContract]
        Movie FindMovie(string serialNo);
    }
}
